﻿/**
 * ...
 * @author George Mavchun
 */

package gui.hug;

import flash.display.Sprite;

class HUGSprite extends Sprite
{
	public var uid : Int;

	public function new(?left : Float, ?top : Float)
	{
		super();
		setLocation((left == null) ? 0 : left, (top == null) ? 0 : top);
	}
	
	public function setLocation(left : Float, ?top : Float) {
		this.x = left;
		this.y = (top == null) ? left : top;
	}
	
}